#include<stdio.h>
#include<graphics.h>
#include<conio.h>
#include<math.h>

#define Width 640
#define Height 480
#define PI 3.14
int main()
{
	initgraph(Width,Height);
	int x,y,r=200;
	int c;
	double i;
	for(i=0;i<PI*2;i+=0.0001 )
	{
		x=(int)r*cos(i);
		y=(int)r*sin(i);
		c=(i*255)/(2*PI);
		setlinecolor(RGB(255,c,c));
		line(320,240,x,y);
	}
	_getch();
	closegraph();
	return 0;
}